import axios from './network'
//    注册登录接口
function getTestingCode(phone){
  return axios({
    url:'servicer/login',
    data:{
      telephone: phone
    },
    method: "POST"
  })
}
//    注册登录接口
function sendTestingCode(code){
  return axios({
    url:'servicer/check',
    method:'POST',
    data:{
      code
    }
  })
}
// 登录接口
function sendUserLogin(data){
  return axios({
    url:"mobileadmin/login",
    method:"POST",
    data
  })
}




export{
  getTestingCode,
  sendTestingCode,
  sendUserLogin
 
}